html,
body,
#root {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial,
    'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol',
    'Noto Color Emoji';
}

.colorWeak {
  filter: invert(80%);
}

.ant-layout {
  min-height: 100vh;
}
.ant-pro-sider.ant-layout-sider.ant-pro-sider-fixed {
  left: unset;
}

canvas {
  display: block;
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

ul,
ol {
  list-style: none;
}

@media (max-width: 768px) {
  .ant-table {
    width: 100%;
    overflow-x: auto;
    &-thead > tr,
    &-tbody > tr {
      > th,
      > td {
        white-space: pre;
        > span {
          display: block;
        }
      }
    }
  }
}
// 初始化
div p {
  margin-top: 0;
  margin-bottom: 0px;
}
// antd 样式覆盖
.ant-picker,
.ant-select,
.ant-input-number {
  width: 100%;
}
.ant-pro-page-container-children-container {
  padding-top: 0;
}
.ant-steps-item-title {
  width: 100%;
}
.ant-form .ant-divider.css-dev-only-do-not-override-pqbkmr.ant-divider-horizontal {
  margin-top: 4px;
}
.ant-descriptions {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
// 顶部菜单处理
.ant-menu-submenu-selected {
  background-color: #f7f7f7 !important;
  .ant-menu-submenu-title {
  }
}
.ant-menu-submenu-horizontal.ant-pro-base-menu-horizontal-submenu-has-icon {
  padding-right: 30px !important;
}
.ant-pro-base-menu-horizontal-submenu-has-icon {
  .ant-menu-submenu-arrow {
    right: -15px;
    display: inline-block !important;
    transform: rotate(90deg);
  }
}
.ant-menu-item-selected {
  background-color: #f7f7f7 !important;
}
// 业务样式
.Detail_caseInfo_Collapse_BetaSchemaForm {
  .ant-divider {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
  }
  .ant-form-item-label {
    padding-bottom: 0 !important;
  }
}
.case_row_left_content {
  .ant-collapse-content-box {
    padding-top: 0 !important;
  }
  .ant-descriptions-item-label,
  .ant-descriptions-item-content {
    padding: 5px 8px !important;
    line-height: 16px !important;
  }
}
.case_row_left_content {
  .ant-upload-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    .ant-btn {
      margin-right: 20px;
    }
    .ant-upload-list-item {
      margin-top: 0px;
      margin-right: 10px;
    }
    .ant-upload-list-picture {
      .ant-upload-list-item {
        height: 24px;
        padding: 0;
        border: 0px;
        .ant-upload-list-item-thumbnail {
          width: 24px;
          height: 24px;
        }
      }
    }
  }
}
.tableTitleSon {
  margin-right: 20px;
  color: #722ed1;
  font-weight: 600;
}
// 禁止标签点击
.element-to-disable-click {
  pointer-events: none !important;
}
// 消息中心样式
.WebsocketBox {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  padding: 0px;
  .ant-popover-open,
  > span {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .number {
    position: absolute;
    top: -2px;
    right: -5px;
    display: inline-block;
    width: 29px;
    height: 22px;
    color: #fff;
    font-size: 10px;
    line-height: 22px;
    text-align: center;
    background: #ff4d4f;
    border-radius: 50%;
  }
  svg {
    font-size: 30px;
  }
}
.ant-popover {
  .WebsocketBox_InfoList {
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    .ant-empty-image{
      margin-top: 20px;
    }
    .WebsocketBox_InfoList_Item{
      border-bottom: 1px solid #e8e8e8;
      padding: 20px;
      cursor: pointer;
    }
  }
}
.HorizontalUpload{
  display: flex;
  justify-content: flex-start;
}